package com.ruoyi.eservice.pojo.dto;

import com.ruoyi.eservice.pojo.entity.Policy;

import java.util.ArrayList;
import java.util.List;

/**
 * 区域的疫情政策信息对象 einfo_policy
 *
 * @author fencheng
 * @date 2022-11-10
 */
public class PolicyDto extends Policy
{
    private List<String> policyList = new ArrayList<String>();

    public void addPolicy(Policy policy){
        this.getPolicyList().add(policy.getContent());
    }

    public List<String> getPolicyList() {
        return policyList;
    }

    public void setPolicyList(List<String> policyList) {
        this.policyList = policyList;
    }
}
